<div class='link_list' style='margin-left:10px;'><?php echo $obj->link; ?></div>
<h1 style='display:block;float:left;min-height:25px;margin-left:5px;'><?=$obj->title;?></h1>
<?php
echo use_stylesheet('colorbox.css').use_javascript('jquery.colorbox-min.js');

if(!empty($obj->gallery)){
	echo"<section class=\"gallery_album\" style='float:left;' id='gallery_photo'>";
	foreach($obj->gallery as $img){
		echo"<a href=\"/public/upload/gallery/".$img['full']."\"  class=\"group1\" title='".$img['descrip']."'><figure style=\"width: 250px; height: auto;\"><div class='descrip'>".$img['descrip']."</div><div class='crop_img'><img src=\"/public/upload/gallery/".$img['prev']."\"></div><i class=\"zoom_dec\"/></i></figure></a>";
	}
	echo"</section>";
}
?>
<div class="wp-pagenavi">
	<?php //if(isset($obj->pager['pager'])){echo $obj->pager['pager'];} ?>
</div>
<script type="text/javascript">
jQuery(document).ready(function(){
	if ($.exists('.group1')){
		jQuery(".group1").colorbox({rel:'group1'});
	}
});
</script>
